<?php
	class Welcome extends Application{
		function __construct(){
            if(!isset($_SESSION['loginadmin'])){
                header("location: ?model=login");
            }
		}
		
		function index(){
            $data['welcome'] = 'welcome to administration';
			$this->loadView(TEMPLATE_ADMIN.'/index_body', $data);
		}
	}
?>